<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html,
        body {
            margin: 0
        }

        .row {
            display: flex;
            box-sizing: border-box;
        }

        .col {
            float: left;
            padding: 0 10px;
            max-width: 25%;
            flex: 0 0 25%;

            
            box-sizing: border-box;
        }

        .col>div {
            background-color: red;
            height: 10px;
        }
    </style>
</head>

<body>

    <div class="row">
        <div class="col">
            <div></div>
        </div>
        <div class="col">
            <div></div>
        </div>
        <div class="col">
            <div></div>
        </div>
        <div class="col">
            <div></div>
        </div>
    </div>

</body>

</html>